package com.hec.yygh.orders.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hec.yygh.model.order.OrderInfo;
import com.hec.yygh.vo.order.OrderQueryVo;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author hec
 * @since 2022-11-25
 */
public interface OrderInfoService extends IService<OrderInfo> {

    Long saveOrder(String scheduleId, Integer patientId);

    IPage<OrderInfo> selectPageInfo(Page<OrderInfo> pageParam, OrderQueryVo orderQueryVo);

    OrderInfo getOrderInfo(Long orderId);

    void createNative(Long orderId);

    void cancelReservation(Long orderId);
}
